package edu.hawaii.duedates.library;

import org.junit.Test;
//import com.meterware.httpunit.WebConversation;

/**
 * Checks if login, getInfo, and toFormattedString works.
 * 
 * @author John Zhou
 * @author John Ly
 * 
 */
public class TestLender extends junit.framework.TestCase {

  /**
   * Test normal operations: login, getInfo, and toFormattedString.
   * 
   * @exception Exception If errors during login.
   */
  @Test
  public void testNormalOperation() throws Exception {
    Lender lender = new Lender();
    //TO DO once we figure how to test object this will be fixed
    //WebConversation conversation = new WebConversation();
    //assertEquals("Testing login", conversation, lender.login("13521953", "zhou"));
    assertEquals("Testing getInfo", "", lender.getInfo("13521953", "zhou"));
  }

}
